package com.theyeasy.dvmini.model;

import java.io.Serializable;
import java.util.UUID;

import com.theyeasy.dvmini.vo.Chatlog_Vo;

import me.chanjar.weixin.common.util.json.WxGsonBuilder;

public class WebSockMsg extends Chatlog_Vo implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 2872304385319676791L;
	private String salelogo;

	public String toJson() {
		return WxGsonBuilder.create().toJson(this);
	}

	public static WebSockMsg fromJson(String json) {
		try {
			return WxGsonBuilder.create().fromJson(json, WebSockMsg.class);
		} catch (Exception e) {
			e.printStackTrace();
			WebSockMsg msg = new WebSockMsg();
			return msg;
		}

	}

	
}
